package cn.buk.api.ctrip.dto.share;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import java.util.List;

/**
 * Created by yfdai on 16/1/11.
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class OpenApiResponseBody {


    @XmlElementWrapper(name = "Failures")
    @XmlElement(name = "Title")
    private List<String> failures;

//    <SuccessFareList>\n" +
//            "            <SuccessFare>\n" +
//            "                <FareID>1587981759</FareID>\n" +
//            "                <ExternalID/>\n" +
//            "            </SuccessFare>\n" +
//            "        </SuccessFareList>\n" +

    @XmlElementWrapper(name = "SuccessFareList")
    @XmlElement(name = "SuccessFare")
    private List<SuccessFare> successFares;

    public List<String> getFailures() {
        return failures;
    }

    public void setFailures(List<String> failures) {
        this.failures = failures;
    }

    public List<SuccessFare> getSuccessFares() {
        return successFares;
    }

    public void setSuccessFares(List<SuccessFare> successFares) {
        this.successFares = successFares;
    }
}
